package com.tmt.im.service.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;

/**
 * @Description TODO
 * @Author wuyi
 * @Date 2024/8/31 11:49
 * @Version 1.0
 **/
@Getter
@Setter
@Tag(name = "MemberStatusInGroup", description = "当前用户在某个群组中的状态信息")
public class MemberStatusInGroup implements Serializable {

    @Serial
    private static final long serialVersionUID = -2961453123396936358L;

    @Schema(name="memberNick", description = "当前用户在群中的昵称")
    private String memberNick;

    @Schema(name="avatar", description = "当前用户的头像, 便于APP端显示")
    private String avatar;

    @Schema(name="forbidRedPackage", description = "禁止当前用户在群中抢红包")
    private boolean forbidRedPackage = false;

    @Schema(name="chatBanned", description = "禁止当前用户在群中发言")
    private boolean chatBanned = false;

    @Schema(name="doNotDisturb", description = "是否开启了群消息免打扰")
    private boolean doNotDisturb = true;

    @Schema(name="owner", description = "是否是群的群主")
    private boolean owner = false;

    @Schema(name="manager", description = "是否是群管理员")
    private boolean manager = false;

}
